//
//  NavigationController.m
//  ksjv2
//
//  Created by mac on 14/12/23.
//  Copyright (c) 2014年 CnbizMedia. All rights reserved.
//

#import "NavigationController.h"

@interface NavigationController (){

}

@end

@implementation NavigationController

- (void)viewDidLoad {
    [super viewDidLoad];

    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (UIViewController *)popViewControllerAnimated:(BOOL)animated
{
    [self setNavigationBarHidden:YES animated:NO];
    return [super popViewControllerAnimated:animated];
}
- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated
{
    [super pushViewController:viewController animated:animated];
    [self setNavigationBarHidden:NO animated:NO];

}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
